<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>字典管理</title>
	<link rel="stylesheet" type="text/css" href="<%=basePath%>ui/css/right.css">
</head>
	<div id="all">
		<div id="main">
			<div class="pageColumn">
				<div class="add_div">
					<%@ include file="/common/nav.jsp"%>
						<span style="float: right;padding-right: 10px"><button onclick="javascript:window.location.href='${basePath }dict/editDict/${porCode}.html'" class="add_btn">新 增</button>
						</span>
				</div>
				<table>
					<thead>
						<tr>
							<th>编号</th>
							<th>编码</th>
							<th>值</th>
							<th>创建日期</th>
							<th>描述</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${list }" var="obj" varStatus="i">
							<tr>
								<td>${i.index+1 }</td>
								<td>${obj.dict_code }</td>
								<td>${obj.dict_value }</td>
								<td><fmt:formatDate value="${obj.create_date }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
								<td>${obj.memo }</td>
								<td><a href="${basePath }dict/editDict/${porCode}.html?id=${obj.id}"><img width="16" height="16" src="<%=basePath %>image/frame/edit2.png" ></a>&#12288;
									<a href="${basePath }dict/delete/${porCode }.html?id=${obj.id}" onclick="if(confirm('确定删除该信息？')){ return true;} else { return false}"><img width="16" height="16" src="<%=basePath %>image/frame//del.png"></a></td>
							</tr>
						</c:forEach>

					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>
